#!/usr/bin/gnuplot

set term jpeg
set output "V.jpg"
a = 1
b = 1
c = 1
d = 1
f(x) = a*x**2 + b*exp(-1*c*x*x) + d
fit f(x) "V2.dat" u 1:2 via a,b,c,d
set title sprintf("a=%g, b=%g, c=%g, d=%g", a,b,c,d)
plot "V2.dat" u 1:2, f(x)

